
//一级页面
import Index from "../page/Index"
//文章页
import Articles from "../page/article/Articles"
//归档
import Brticle from "../page/brochure/Brochure"
//知识小册
import File from "../page/file/File"
//留言板
import Notes from "../page/Notes/Notes"
//关于
import About from "../page/about/About"

let routerList=[
    {
        path:"/index",
        component:Index,
        children:[
            {
                path:"/index/article",
                component:Articles,
            },
            {
                path:"/index/brochure",
                component:Brticle,
            },
            {
                path:"/index/file",
                component:File,
            },
            {
                path:"/index/notes",
                component:Notes,
            },
            {
                path:"/index/about",
                component:About,
            },
            {
                to:"/index/article",
                from:"/index",
            }

        ]
    },
    {
        from:"/",
        to:"/index",
    }
]
export default routerList
